# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=sshign
pkgver=0.2.1
pkgrel=0
pkgdesc="Small program to sign & verify files with your SSH key"
url="https://git.sr.ht/~minus/sshign"
arch="all !mips !mips64"
license="MIT"
makedepends="go scdoc"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~minus/sshign/archive/$pkgver.tar.gz"
subpackages="$pkgname-doc"

build() {
	make PREFIX=/usr
}

package() {
	make install PREFIX=/usr DESTDIR="$pkgdir"
}

check() {
	go test ./...
}

sha512sums="82b730d870b7319e690ec0ab46f42aa738f94491c0b0637b01421abb6d6f28daf444e453280b6c3e4bc11f10eeaf1ae08edb20713ce32d5abcae71e16e3b41f2  sshign-0.2.1.tar.gz"
